package org.bim.view.drag.design.entity;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Table;
import javax.validation.constraints.NotBlank;

/**
 * @author huangr
 * @date 2022/2/17 2:26 下午
 */
@Getter
@Setter
@Table(name = "t_user")
public class TUser extends BaseEntity {
    @NotBlank(message = "账号不能为空")
    private String account;
    @NotBlank(message = "昵称不能为空")
    private String name;
    /**
     * role 0 普通用户，1超级管理员
     */
    private Integer role;
    @NotBlank(message = "邮箱不能为空")
    private String email;
    @NotBlank(message = "密码不能为空")
    private String password;
    private String outId;
}
